import React from 'react';

interface AppProps {}

const App: React.FC<AppProps> = (props) => {
  let brr=[2,1,4,3]
  let arr=[2,1,4,3]//原数组
  
  arr.sort()
  console.log(arr);
  

  return (
    <>
    排序前数组:{brr}
    <br/>  <br/>
      排序结果：{arr}
    </>
  );
};

export default App;
